package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "sign")
public class Sign {

    @TableId(type = IdType.AUTO)
    private Integer signId;

    @TableField(value = "lesson_id")
    private Integer lessonId;

    @TableField(value = "student_id")
    private Integer studentId;

    @TableField(value = "sign_type")
    private Integer signType;

    @TableField(value = "sign_time")
    private Date signTime;

    @TableField(value = "sign_location_lat")
    private String signLocationLat;

    @TableField(value = "sign_location_long")
    private String signLocationLong;

    @TableField(exist = false)
    private String lessonName;

}
